package com.meetingRoom.mapper;

import com.meetingRoom.pojo.MeetingRoom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeetingRoomMapper {
    public List<MeetingRoom> selectMR(@Param("name")String name,@Param("number")Integer number,@Param("pageBegin")Integer pageBegin,@Param("pageSize")Integer pageSize);
    public int countMR(@Param("name")String name);

    public int insertMR(MeetingRoom meetingRoom);

    public int updateMR(MeetingRoom meetingRoom);

    public int deleteMR(@Param("id")Integer id);

    public MeetingRoom detailMR(@Param("id")Integer id);
}
